/********************* SETTINGS *********************/
//  Depends: model.js
//  Depends: database-localstorage.js

function Settings() {
}

Settings.prototype.constructor = ApplicationSettings();

Settings.prototype.init = function(options){
	this.load();
	var s = $.extend({}, this, options);
}
  
Settings.prototype.save = function() {
    if (!supportsLocalStorage()) { return false; }
    localStorage["settings.wpKey"] = this.wpKey;
    return true;
}
  
Settings.prototype.load = function() {
    if (!supportsLocalStorage()) { return false; }
    this.wpKey = localStorage["settings.wpKey"];
    return true;
}